import { HTTP } from '../utils/http.js'

class Integralshop extends HTTP {

    // 积分商城
    commodity_list(objs) {
        return this.request({
        url: '/commodity/commodity_list',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    // 查看用户信息
    select_by_token(objs) {
        return this.request({
        url: '/user/select_by_token',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }

}

export { Integralshop }